<template>
  <el-tabs v-model="activeName" @tab-click="handleClick">
    <el-tab-pane label="客户统计" name="first">
      <Custom />
    </el-tab-pane>
    <el-tab-pane label="销售统计" name="second">
      <Sale />
    </el-tab-pane>
    <el-tab-pane label="线索统计" name="third">
      <Clue />
    </el-tab-pane>
    <el-tab-pane label="渠道统计" name="fourth">
      <Channel />
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import Custom from './components/custom'
import Sale from './components/sale'
import Clue from './components/clue'
import Channel from './components/channel'
export default {
  components: {
    Custom,
    Sale,
    Clue,
    Channel
  },
  data() {
    return {
      activeName: 'first'
    }
  },
  methods: {
    handleClick() {
      // console.log('1')
    }
  }
}
</script>

<style>
</style>
